package org.easyspring.jvm;
public class Sum {
    private int base = 10;
    public long add(int toAdd) {
        this.base += toAdd;
        return this.base;
    }

    public int calc(){
        int a = 100;
        int b = 200;
        int c = 300;
        return (a+b)*c;
    }
}
